package com.fortune.dal.dao;

import com.fortune.dal.model.Bank;

import java.util.List;

public interface BankDAO {

    void insert(Bank bank) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(Bank bank) throws Exception;

    List<Bank> queryByModel(Bank bank) throws Exception;

    Bank queryById(Integer id) throws Exception;

}
